package br.com.gaspar.dao;

import gov.sefaz.framework.persistencia.jpa.BaseDAO;

import javax.ejb.Local;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.gaspar.dao.iface.IGasparDAO;

@SuppressWarnings("rawtypes")
@Stateless
@Local(IGasparDAO.class)
public class GasparDAO extends BaseDAO implements IGasparDAO {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@SuppressWarnings("unchecked")
	@PersistenceContext(unitName="gaspar-pu")
	@Override
	protected void setEntityManager(EntityManager entityManager) {
		this.entityManager = entityManager;
	}

}
